﻿/**
 *攻略分享收藏类 
 */

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using FoodRaidersWebAPI.domainnew.Article;

namespace FoodRaidersWebAPI.domainnew.Favorite
{
    public class FavoriteRaiderArticle
    {
        [Key]
        public int FavoriteRaiderArticleID { get; set; }
        public DateTime DateTime { get; set; }//收藏日期
        public int UserID { get; set; }//所属用户
        
        //RaidersArticle外键
        [ForeignKey("RaiderArticle")]
        public int RaiderArticleID { get; set; }
        public RaiderArticle RaiderArticle { get; set; }
        
    }
}